package com.xbongbong.pro.searchcustomer.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.DepartmentVO;
import com.xbongbong.paas.toolbox.wrap.RoleSimpleVO;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Set;

/**
 * @Author shian
 * @create 2019-08-07 9:48
 * @Description
 */
@Getter
@Setter
public class SearchCustomerUserVO implements Serializable{

    private Long id;

    private String corpid;

    private String department;

    private String userId;

    private String roleIds;

    private String name;

    private String position;

    private Integer admin;

    private Integer staff;

    private Long addTime;

    private Long updateTime;

    private Integer del;

    /**
     * 用户具有的角色列表
     */
    private Set<RoleSimpleVO> roleSet;

    /**
     * 用户所在的部门列表
     */
    private Set<DepartmentVO> depSet;

    /**
     * 员工所在部门名通过英文逗号(,)连接
     */
    private String departmentConcat;

    /**
     * 员工所具有的角色名通过英文逗号(,)连接
     */
    private String roleConcat;


}
